package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户邀请渠道信息对象 app_ditch
 * 
 * @author ruoyi
 * @date 2023-03-06
 */
public class AppDitch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 状态，0：有效，1：删除 */
    @Excel(name = "状态，0：有效，1：删除")
    private Integer state;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 渠道链接 */
    @Excel(name = "渠道链接")
    private String ditchUrl;

    /** 渠道二维码图片url */
    @Excel(name = "渠道二维码图片url")
    private String qrcodeUrl;

    /** 下属数量 */
    @Excel(name = "下属数量")
    private Integer underingNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDitchUrl(String ditchUrl) 
    {
        this.ditchUrl = ditchUrl;
    }

    public String getDitchUrl() 
    {
        return ditchUrl;
    }
    public void setQrcodeUrl(String qrcodeUrl) 
    {
        this.qrcodeUrl = qrcodeUrl;
    }

    public String getQrcodeUrl() 
    {
        return qrcodeUrl;
    }
    public void setUnderingNum(Integer underingNum) 
    {
        this.underingNum = underingNum;
    }

    public Integer getUnderingNum() 
    {
        return underingNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("userId", getUserId())
            .append("ditchUrl", getDitchUrl())
            .append("qrcodeUrl", getQrcodeUrl())
            .append("underingNum", getUnderingNum())
            .toString();
    }
}
